package com.param.impl;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

import com.param.IAlreadyRead;

public class AlreadyRead implements IAlreadyRead {

	@NotNull
	@Min(value = 1, message="平台最小值为1, 管理端")
	@Max(value = 2, message="平台最大值为2， 编辑端")
	private Byte platform;
	
	public Byte getPlatform() {
        return platform;
    }
	
	public void setPlatform(Byte platform) {
        this.platform = platform;
    }
}
